export default {
  install (Vue) {
    Vue.mixin({
      data: () => ({
        imgBaseUrl: 'https://elm.cangdu.org/img/'
      }),
      methods: {
        goDetail (url, id) {
          this.$router.push(url + '/' + id)
        }
      }
    })
  }
}
